﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wix.Aura.Common;
using Wix.Aura.Common.CustomTypes;

namespace Wix.Aura.UnitTests.Common {
	public class ProductChildren : XmlAssertionBase {

		[SetUp]
		public void SetUp() {
			baseXml = @"<?xml version=""1.0"" encoding=""utf-8""?>
<Wix xmlns=""http://schemas.microsoft.com/Wix/2006/wi"">
	<Product Id=""00000000-0000-0000-0000-000000000000"" Language=""0"" Manufacturer=""manu"" Name=""name"" Version=""0.0.0.0"">
		<Package Id=""00000000-0000-0000-0000-000000000000"" />
		{0}
	</Product>
</Wix>";

			product = new Product(Guid.Empty, Language.Default, "manu", "name", "0.0.0.0", new Package(Guid.Empty));
			project = new WixProject(product);

			OnSetUp();
		}

		protected virtual void OnSetUp() {
		}

		protected string baseXml;
		protected Product product;
		protected WixProject project;
	}
}
